{include 'common/header.html'}
<body>
<header>
<ul>
<li><a href="{$this->urlCreate('admin','index')}" style="z-index: 50;">管理主页</a></li>
<li><a href="#" style="z-index: 49;">版块维护</a></li>
</ul>
</header>

<div id="main">
<div id="subtitle">版块维护</div>
<div id="box">
<form action="" method="post">
<label for="parent">父级论坛</label>
<select name="parent" style="display: block;margin: 1em;">
{foreach $forums as $forum}
{if($section['fid']==$forum['id'])}
<option value="{$forum['id']}" selected="selected">{$forum['name']}</option>
{else}
<option value="{$forum['id']}">{$forum['name']}</option>
{/if}
{/foreach}
</select>
<label for="name">版块名称</label>
<input type="text" id="name" name="name" style="margin: 1em;display: block;" value="{$section['name']}" />
<span style="display: block;margin: 3px 1em 3px;color: red;">{$tip}</span>
<span style="display: block;margin: 1em;font-size: 0.6em;color: red;">不修改就提交会报错的哦</span>
<input type="submit" name="submit" value="提交" style="margin: 1em;display: block;width: 64px;height: 24px;margin-left: 3em;" />
</form>
</div>
</div>
{include 'common/footer.html'}
</body>
</html>